<div class="images form">
<?php echo $this->Form->create('Image',array('type' => 'file'));?>
	<fieldset>
 		<legend><?php __('Edit Image'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('name');
		/*echo $this->Form->input('location');*/
		echo $form->input('location', array('type' => 'file'));
		/*echo $form->input('Image.location.remove',  array('type' => 'checkbox', 'label' => 'Delete Image'));*/
		echo $this->Form->input('categorie_id');
		echo $this->Form->input('made');
		echo $this->Form->input('upload');
		echo $this->Form->input('description');
		
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Image.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Image.id'))); ?></li>
		<li><?php echo $this->Html->link(__('Ver Álbumes', true), array('controller' => 'categories', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Crear Álbum', true), array('controller' => 'categories', 'action' => 'add')); ?> </li>
	</ul>
</div>